
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Hello world!</title>
    <!-- zui -->
    <link href="static/css/zui.min.css" rel="stylesheet">
    <link href="static/css/zui-theme.css" rel="stylesheet">
    <link href="static/lib/bootbox/bootbox.min.css" rel="stylesheet">
</head>
<body>
<?php include __DIR__.'/nav.tpl.php'?>
<!-- 在此处编码你的创意 -->

<div class="modal">
    <div class="modal-body">
        <input type="text" class="form-control" id="exampleInputAccount1" placeholder="电子邮件/手机号/用户名">
    </div>
</div>



<!-- jQuery (ZUI中的Javascript组件依赖于jQuery) -->
<script src="static/js/jquery-1.11.0.min.js"></script>
<!-- ZUI Javascript组件 -->
<script src="static/js/zui.min.js"></script>
<script src="static/lib/bootbox/bootbox.min.js"></script>

<?php if(!self::$isLogin){?>
<script>
    bootbox.prompt('请输入密码',function (ret) {
        var _this = this ;
        $.post('?m=auth&a=login',{password:ret},function (d) {
            window.location.reload() ;
        })
        return false
    })
</script>
<?php }?>
</body>
</html>
